package com.huiminpay.merchant.covert;


import com.huiminpay.merchant.dto.StaffDTO;
import com.huiminpay.merchant.entity.Staff;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface StaffCovert {

    StaffCovert INSTANCE = Mappers.getMapper(StaffCovert.class);


    StaffDTO entity2Dto(Staff staff);

    Staff dto2Entity(StaffDTO staffDTO);


}
